<?php 
/*
* 小幻灯片
*/
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>
<div id="wrap" class="">

<div class=" jcarousel-skin-pohoox">

<div class="jcarousel-container jcarousel-container-horizontal" style="position: relative; display: block; ">
  
<div class="jcarousel-clip jcarousel-clip-horizontal" style="overflow-x: hidden; overflow-y: hidden; position: relative; ">

<ul id="slide_" class="jcarousel-list jcarousel-list-horizontal" style="overflow-x: hidden; overflow-y: hidden; position: relative; top: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 1450px; left: 0px; ">
<?php 
        $date =  time() - 3600 * 24 * 180;
        $Log_Model = new Log_Model();
		$hotimgs = $Log_Model->getLogsForHome("and top!='y' and date > {$date} ORDER BY views DESC,date DESC", 1, 12);
		foreach($hotimgs as $value){?>
  
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-1 jcarousel-item-1-horizontal" style="list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; " jcarouselindex="1"><a href="<?php echo $value['log_url']; ?>">
<img src="<?php logs_thumb($value,'115','94'); ?>" alt="<?php echo $value['log_title']; ?>">
</a></li>
<?php }?>
</ul>
  
</div><!-- #clip -->
  
<div class="jcarousel-prev jcarousel-prev-horizontal jcarousel-prev-disabled jcarousel-prev-disabled-horizontal" style="display: block; " disabled="true"></div>

<div class="jcarousel-next jcarousel-next-horizontal" style="display: block; " disabled="false"></div>
 

</div><!-- #jcarousel-container -->
  
</div><!-- #pohoox skin -->
<script type="text/ecmascript">
picscroll({
'container': '.jcarousel-skin-pohoox',
'prev': '.jcarousel-skin-pohoox .jcarousel-prev',
'next': '.jcarousel-skin-pohoox .jcarousel-next',
'list': '.jcarousel-skin-pohoox .jcarousel-clip ul'
});
</script>
</div><!-- #wrap -->